package com.kamistoat.meimeimall.meimeimallmember.dao;

import com.kamistoat.meimeimall.meimeimallmember.entity.MemberReceiveAddressEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员收货地址
 * 
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2021-09-12 16:36:46
 */
@Mapper
public interface MemberReceiveAddressDao extends BaseMapper<MemberReceiveAddressEntity> {
	List<MemberReceiveAddressEntity> getRandomLimit(@Param("memberId") Long memberId, @Param("limit") int limit);

    Long insertBatch(@Param("entityList") List<MemberReceiveAddressEntity> receiveAddresses);
}
